package com.qidian.test;

/**
 * Author: 戴着假发的程序员
 * Date: 2024-05-09 15:41
 * company: 起点编程
 **/

public class Demo {
    public static void main(String[] args) {
        A.m();
        B.m();
    }
}


class A{
    public static void m(){
        System.out.println("A - M");
    }
}
class B extends A{
    public static void m(){
        System.out.println("B - M");
    }
}

class St{}